<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Test2::API::InterceptResult::Event - Representation of an event for use in testing other test tools. - Perldoc Browser</title>
    <link rel="search" href="https://perldoc.perl.org/opensearch.xml" type="application/opensearchdescription+xml" title="Perldoc Browser">
    <link rel="canonical" href="https://perldoc.perl.org/Test2::API::InterceptResult::Event">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/stackoverflow-light.min.css" integrity="sha512-cG1IdFxqipi3gqLmksLtuk13C+hBa57a6zpWxMeoY3Q9O6ooFxq50DayCdm0QrDgZjMUn23z/0PMZlgft7Yp5Q==" crossorigin="anonymous" />
    <style>
      body {
        background: #f4f4f5;
        color: #020202;
      }
      .navbar-dark {
        background-image: -webkit-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: -o-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: linear-gradient(to bottom, #005f85 0, #002e49 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff005f85', endColorstr='#ff002e49', GradientType=0);
        background-repeat: repeat-x;
      }
      .navbar-dark .navbar-nav .nav-link,
      .navbar-dark .navbar-nav .nav-link:focus { color: #fff }
      .navbar-dark .navbar-nav .nav-link:hover { color: #ffef68 }
      #wrapperlicious {
        margin: 0 auto;
        font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
        font-weight: normal;
        line-height: 1.5em;
        margin: 0;
        padding: 0;
      }
      #wrapperlicious h1 { font-size: 1.5em }
      #wrapperlicious h2 { font-size: 1.3em }
      #wrapperlicious h3 { font-size: 1.1em }
      #wrapperlicious h4 { font-size: 0.9em }
      #wrapperlicious h1, #wrapperlicious h2, #wrapperlicious h3,
      #wrapperlicious h4, #wrapperlicious dt {
        color: #020202;
        margin-top: 1em;
        margin-bottom: 1em;
        position: relative;
        font-weight: bold;
      }
      #wrapperlicious a { color: inherit; text-decoration: underline }
      #wrapperlicious #toc { text-decoration: none }
      #wrapperlicious a:hover { color: #2a2a2a }
      #wrapperlicious a img { border: 0 }
      #wrapperlicious :not(pre) > code {
        color: inherit;
        background-color: rgba(0, 0, 0, 0.04);
        border-radius: 3px;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        padding: 0.3em;
      }
      #wrapperlicious dd {
        margin: 0;
        margin-left: 2em;
      }
      #wrapperlicious dt {
        color: #2a2a2a;
        font-weight: bold;
        margin-left: 0.9em;
      }
      #wrapperlicious p {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious li > p {
        margin-bottom: 0;
        margin-top: 0;
      }
      #wrapperlicious pre {
        border: 1px solid #c1c1c1;
        border-radius: 3px;
        font: 100% Consolas, Menlo, Monaco, monospace;
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious pre > code {
        display: block;
        background-color: #f6f6f6;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        line-height: 1.5em;
        text-align: left;
        white-space: pre;
        padding: 1em;
      }
      #wrapperlicious dl, #wrapperlicious ol, #wrapperlicious ul {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious ul {
        list-style-type: square;
      }
      #wrapperlicious ul ul {
        margin-bottom: 0px;
        margin-top: 0px;
      }
      #footer {
        font-size: 0.8em;
        padding-top: 0.5em;
        text-align: center;
      }
      #more {
        display: inline;
        font-size: 0.8em;
      }
      #perldocdiv {
        background-color: #fff;
        border: 1px solid #c1c1c1;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        margin-left: auto;
        margin-right: auto;
        padding: 3em;
        padding-top: 1em;
        max-width: 960px;
      }
      #moduleversion { float: right }
      #wrapperlicious .leading-notice {
        font-style: italic;
        padding-left: 1em;
        margin-top: 1em;
        margin-bottom: 1em;
      }
      #wrapperlicious .permalink {
        display: none;
        left: -0.75em;
        position: absolute;
        padding-right: 0.25em;
        text-decoration: none;
      }
      #wrapperlicious h1:hover .permalink, #wrapperlicious h2:hover .permalink,
      #wrapperlicious h3:hover .permalink, #wrapperlicious h4:hover .permalink,
      #wrapperlicious dt:hover .permalink {
        display: block;
      }
    </style>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-KVNWBNT5FB"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());

      gtag('config', 'G-KVNWBNT5FB');
      gtag('config', 'UA-50555-3');
    </script>
  </head>
  <body>
    <nav class="navbar navbar-expand-md navbar-dark bg-dark justify-content-between">
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <a class="navbar-brand" href="https://perldoc.perl.org/">Perldoc Browser</a>
  <div class="collapse navbar-collapse" id="navbarNav">
    <ul class="navbar-nav mr-auto">
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="./Test2::API::InterceptResult::Event.html#" id="dropdownlink-stable" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">5.35.0</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-stable">
          <a class="dropdown-item" href="https://perldoc.perl.org/Test2::API::InterceptResult::Event">Latest</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.2/Test2::API::InterceptResult::Event">5.38.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.1/Test2::API::InterceptResult::Event">5.38.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0/Test2::API::InterceptResult::Event">5.38.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.3/Test2::API::InterceptResult::Event">5.36.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.2/Test2::API::InterceptResult::Event">5.36.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.1/Test2::API::InterceptResult::Event">5.36.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.0/Test2::API::InterceptResult::Event">5.36.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.3/Test2::API::InterceptResult::Event">5.34.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.2/Test2::API::InterceptResult::Event">5.34.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.1/Test2::API::InterceptResult::Event">5.34.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.0/Test2::API::InterceptResult::Event">5.34.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.1/Test2::API::InterceptResult::Event">5.32.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.0/Test2::API::InterceptResult::Event">5.32.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.3/Test2::API::InterceptResult::Event">5.30.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.2/Test2::API::InterceptResult::Event">5.30.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.1/Test2::API::InterceptResult::Event">5.30.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.0/Test2::API::InterceptResult::Event">5.30.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.3/Test2::API::InterceptResult::Event">5.28.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.2/Test2::API::InterceptResult::Event">5.28.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.1/Test2::API::InterceptResult::Event">5.28.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.0/Test2::API::InterceptResult::Event">5.28.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.3/Test2::API::InterceptResult::Event">5.26.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.2/Test2::API::InterceptResult::Event">5.26.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.1/Test2::API::InterceptResult::Event">5.26.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.0/Test2::API::InterceptResult::Event">5.26.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.4/Test2::API::InterceptResult::Event">5.24.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.3/Test2::API::InterceptResult::Event">5.24.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.2/Test2::API::InterceptResult::Event">5.24.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.1/Test2::API::InterceptResult::Event">5.24.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.0/Test2::API::InterceptResult::Event">5.24.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.4/Test2::API::InterceptResult::Event">5.22.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.3/Test2::API::InterceptResult::Event">5.22.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.2/Test2::API::InterceptResult::Event">5.22.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.1/Test2::API::InterceptResult::Event">5.22.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.0/Test2::API::InterceptResult::Event">5.22.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.3/Test2::API::InterceptResult::Event">5.20.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.2/Test2::API::InterceptResult::Event">5.20.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.1/Test2::API::InterceptResult::Event">5.20.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.0/Test2::API::InterceptResult::Event">5.20.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.4/Test2::API::InterceptResult::Event">5.18.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.3/Test2::API::InterceptResult::Event">5.18.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.2/Test2::API::InterceptResult::Event">5.18.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.1/Test2::API::InterceptResult::Event">5.18.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.0/Test2::API::InterceptResult::Event">5.18.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.3/Test2::API::InterceptResult::Event">5.16.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.2/Test2::API::InterceptResult::Event">5.16.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.1/Test2::API::InterceptResult::Event">5.16.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.0/Test2::API::InterceptResult::Event">5.16.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.4/Test2::API::InterceptResult::Event">5.14.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.3/Test2::API::InterceptResult::Event">5.14.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.2/Test2::API::InterceptResult::Event">5.14.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.1/Test2::API::InterceptResult::Event">5.14.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.0/Test2::API::InterceptResult::Event">5.14.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.5/Test2::API::InterceptResult::Event">5.12.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.4/Test2::API::InterceptResult::Event">5.12.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.3/Test2::API::InterceptResult::Event">5.12.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.2/Test2::API::InterceptResult::Event">5.12.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.1/Test2::API::InterceptResult::Event">5.12.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.0/Test2::API::InterceptResult::Event">5.12.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.1/Test2::API::InterceptResult::Event">5.10.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.0/Test2::API::InterceptResult::Event">5.10.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.9/Test2::API::InterceptResult::Event">5.8.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.8/Test2::API::InterceptResult::Event">5.8.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.7/Test2::API::InterceptResult::Event">5.8.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.6/Test2::API::InterceptResult::Event">5.8.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.5/Test2::API::InterceptResult::Event">5.8.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.4/Test2::API::InterceptResult::Event">5.8.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.3/Test2::API::InterceptResult::Event">5.8.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.2/Test2::API::InterceptResult::Event">5.8.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.1/Test2::API::InterceptResult::Event">5.8.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.0/Test2::API::InterceptResult::Event">5.8.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.2/Test2::API::InterceptResult::Event">5.6.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.1/Test2::API::InterceptResult::Event">5.6.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.0/Test2::API::InterceptResult::Event">5.6.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_04/Test2::API::InterceptResult::Event">5.005_04</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_03/Test2::API::InterceptResult::Event">5.005_03</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_02/Test2::API::InterceptResult::Event">5.005_02</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_01/Test2::API::InterceptResult::Event">5.005_01</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005/Test2::API::InterceptResult::Event">5.005</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="./Test2::API::InterceptResult::Event.html#" id="dropdownlink-dev" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dev</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-dev">
          <a class="dropdown-item" href="https://perldoc.perl.org/blead/Test2::API::InterceptResult::Event">blead</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.6/Test2::API::InterceptResult::Event">5.39.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.5/Test2::API::InterceptResult::Event">5.39.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.4/Test2::API::InterceptResult::Event">5.39.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.3/Test2::API::InterceptResult::Event">5.39.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.2/Test2::API::InterceptResult::Event">5.39.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.1/Test2::API::InterceptResult::Event">5.39.1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC2/Test2::API::InterceptResult::Event">5.38.0-RC2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC1/Test2::API::InterceptResult::Event">5.38.0-RC1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.11/Test2::API::InterceptResult::Event">5.37.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.10/Test2::API::InterceptResult::Event">5.37.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.9/Test2::API::InterceptResult::Event">5.37.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.8/Test2::API::InterceptResult::Event">5.37.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.7/Test2::API::InterceptResult::Event">5.37.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.6/Test2::API::InterceptResult::Event">5.37.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.5/Test2::API::InterceptResult::Event">5.37.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.4/Test2::API::InterceptResult::Event">5.37.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.3/Test2::API::InterceptResult::Event">5.37.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.2/Test2::API::InterceptResult::Event">5.37.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.1/Test2::API::InterceptResult::Event">5.37.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.0/Test2::API::InterceptResult::Event">5.37.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.11/Test2::API::InterceptResult::Event">5.35.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.10/Test2::API::InterceptResult::Event">5.35.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.9/Test2::API::InterceptResult::Event">5.35.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.8/Test2::API::InterceptResult::Event">5.35.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.7/Test2::API::InterceptResult::Event">5.35.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.6/Test2::API::InterceptResult::Event">5.35.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.5/Test2::API::InterceptResult::Event">5.35.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.4/Test2::API::InterceptResult::Event">5.35.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.3/Test2::API::InterceptResult::Event">5.35.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.2/Test2::API::InterceptResult::Event">5.35.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.1/Test2::API::InterceptResult::Event">5.35.1</a>
          <a class="dropdown-item active" href="./Test2::API::InterceptResult::Event.html">5.35.0</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="./Test2::API::InterceptResult::Event.html#" id="dropdownlink-nav" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Documentation</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-nav">
          <a class="dropdown-item" href="perl.html">Perl</a>
          <a class="dropdown-item" href="perlintro.html">Intro</a>
          <a class="dropdown-item" href="perl.html#Tutorials">Tutorials</a>
          <a class="dropdown-item" href="perlfaq.html">FAQs</a>
          <a class="dropdown-item" href="perl.html#Reference-Manual">Reference</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlop.html">Operators</a>
          <a class="dropdown-item" href="functions.html">Functions</a>
          <a class="dropdown-item" href="variables.html">Variables</a>
          <a class="dropdown-item" href="modules.html">Modules</a>
          <a class="dropdown-item" href="perlutil.html">Utilities</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlcommunity.html">Community</a>
          <a class="dropdown-item" href="perlhist.html">History</a>
        </div>
      </li>
    </ul>
    <ul class="navbar-nav">
      <script>
        function set_expand (expand) {
          var perldocdiv = document.getElementById('perldocdiv');
          var width = window.getComputedStyle(perldocdiv).getPropertyValue('max-width');
          var expanded = (width == '' || width == 'none') ? true : false;
          if (expand === null) {
            expand = !expanded;
          }
          if ((expand && !expanded) || (!expand && expanded)) {
            perldocdiv.style.setProperty('max-width', expand ? 'none' : '960px');
            var button_classlist = document.getElementById('content-expand-button').classList;
            if (expand) {
              button_classlist.add('btn-light');
              button_classlist.remove('btn-outline-light');
            } else {
              button_classlist.add('btn-outline-light');
              button_classlist.remove('btn-light');
            }
          }
          return expand;
        }
        function toggle_expand () {
          var expand = set_expand(null);
          document.cookie = 'perldoc_expand=' + (expand ? 1 : 0) + '; path=/; expires=Tue, 19 Jan 2038 03:14:07 UTC';
        }
        function read_expand () {
          return document.cookie.split(';').some(function (item) { return item.indexOf('perldoc_expand=1') >= 0 });
        }
        if (document.readyState === 'loading') {
          document.addEventListener('DOMContentLoaded', function () {
            if (read_expand()) {
              set_expand(true);
            }
          });
        } else if (read_expand()) {
          set_expand(true);
        }
      </script>
      <button id="content-expand-button" type="button" class="btn btn-outline-light d-none d-lg-inline-block mr-2" onclick="toggle_expand()">Expand</button>
    <ul>
    <form class="form-inline" method="get" action="https://perldoc.perl.org/5.35.0/search">
      <input class="form-control mr-3" type="search" name="q" placeholder="Search" aria-label="Search">
    </form>
  </div>
</nav>

    <div id="wrapperlicious" class="container-fluid">
      <div id="perldocdiv">
        <div id="links">
          <a href="./Test2::API::InterceptResult::Event.html">Test2::API::InterceptResult::Event</a>
          <div id="more">
            (<a href="./Test2::API::InterceptResult::Event.txt">source</a>,
            <a href="https://metacpan.org/pod/Test2::API::InterceptResult::Event">CPAN</a>)
          </div>
            <div id="moduleversion">version 1.302183</div>
        </div>
        <div class="leading-notice">
          You are viewing the version of this documentation from Perl 5.35.0.
            This is a development version of Perl.
        </div>
        <h1><a id="toc">CONTENTS</a></h1>
                  <ul>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#NAME">NAME</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#DESCRIPTION">DESCRIPTION</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#SYNOPSIS">SYNOPSIS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#METHODS">METHODS</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#!!!-IMPORTANT-NOTES-ON-DESIGN-!!!">!!! IMPORTANT NOTES ON DESIGN !!!</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#ATTRIBUTES">ATTRIBUTES</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#DUPLICATION">DUPLICATION</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#CONDENSED-MULTI-FACET-DATA">CONDENSED MULTI-FACET DATA</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#DIRECT-ARBITRARY-FACET-ACCESS">DIRECT ARBITRARY FACET ACCESS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#TRACE-FACET">TRACE FACET</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#ASSERT-FACET">ASSERT FACET</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#SUBTESTS-(PARENT-FACET)">SUBTESTS (PARENT FACET)</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#CONTROL-FACET-(BAILOUT,-ENCODING)">CONTROL FACET (BAILOUT, ENCODING)</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#PLAN-FACET">PLAN FACET</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#AMNESTY-FACET-(TODO-AND-SKIP)">AMNESTY FACET (TODO AND SKIP)</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#ERROR-FACET-(CAPTURED-EXCEPTIONS)">ERROR FACET (CAPTURED EXCEPTIONS)</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#INFO-FACET-(DIAG,-NOTE)">INFO FACET (DIAG, NOTE)</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#SOURCE">SOURCE</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#MAINTAINERS">MAINTAINERS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#AUTHORS">AUTHORS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Test2::API::InterceptResult::Event.html#COPYRIGHT">COPYRIGHT</a>
              </li>
          </ul>

      <h1 id="NAME"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#NAME">#</a>NAME</h1>

<p>Test2::API::InterceptResult::Event - Representation of an event for use in testing other test tools.</p>

<h1 id="DESCRIPTION"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#DESCRIPTION">#</a>DESCRIPTION</h1>

<p><code>intercept { ... }</code> from <a href="./Test2::API.html">Test2::API</a> returns an instance of <a href="./Test2::API::InterceptResult.html">Test2::API::InterceptResult</a> which is a blessed arrayref of <a href="./Test2::API::InterceptResult::Event.html">Test2::API::InterceptResult::Event</a> objects.</p>

<p>This POD documents the methods of these events, which are mainly provided for you to use when testing your test tools.</p>

<h1 id="SYNOPSIS"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#SYNOPSIS">#</a>SYNOPSIS</h1>

<pre><code>use Test2::V0;
use Test2::API qw/intercept/;

my $events = intercept {
    ok(1, &quot;A passing assertion&quot;);
    plan(1);
};

# This will convert all events into instances of
# Test2::API::InterceptResult::Event. Until we do this they are the
# original Test::Event::* instances
$events-&gt;upgrade(in_place =&gt; 1);

# Now we can get individual events in this form
my $assert = $events-&gt;[0];
my $plan   = $events-&gt;[1];

# Or we can operate on all events at once:
my $flattened = $events-&gt;flatten;
is(
    $flattened,
    [
      {
        causes_failure =&gt; 0,

        name =&gt; &#39;A passing assertion&#39;,
        pass =&gt; 1,

        trace_file =&gt; &#39;xxx.t&#39;,
        trace_line =&gt; 5,
      },
      {
        causes_failure =&gt; 0,

        plan =&gt; 1,

        trace_file =&gt; &#39;xxx.t&#39;,
        trace_line =&gt; 6,
      },
    ],
    &quot;Flattened both events and returned an arrayref of the results
);</code></pre>

<h1 id="METHODS"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#METHODS">#</a>METHODS</h1>

<h2 id="!!!-IMPORTANT-NOTES-ON-DESIGN-!!!"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#!!!-IMPORTANT-NOTES-ON-DESIGN-!!!">#</a><a id="IMPORTANT-NOTES-ON-DESIGN"></a>!!! IMPORTANT NOTES ON DESIGN !!!</h2>

<p>Please pay attention to what these return, many return a scalar when applicable or an empty list when not (as opposed to undef). Many also always return a list of 0 or more items. Some always return a scalar. Note that none of the methods care about context, their behavior is consistent regardless of scalar, list, or void context.</p>

<p>This was done because this class was specifically designed to be used in a list and generate more lists in bulk operations. Sometimes in a map you want nothing to show up for the event, and you do not want an undef in its place. In general single event instances are not going to be used alone, though that is allowed.</p>

<p>As a general rule any method prefixed with <code>the_</code> implies the event should have exactly 1 of the specified item, and and exception will be thrown if there are 0, or more than 1 of the item.</p>

<h2 id="ATTRIBUTES"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#ATTRIBUTES">#</a>ATTRIBUTES</h2>

<dl>

<dt id="$hashref-=-$event-&gt;facet_data"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$hashref-=-$event-%3Efacet_data">#</a><a id="hashref-event-facet_data"></a>$hashref = $event-&gt;facet_data</dt>
<dd>

<p>This will return the facet data hashref, which is all Test2 cares about for any given event.</p>

</dd>
<dt id="$class-=-$event-&gt;result_class"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$class-=-$event-%3Eresult_class">#</a><a id="class-event-result_class"></a>$class = $event-&gt;result_class</dt>
<dd>

<p>This is normally <a href="./Test2::API::InterceptResult.html">Test2::API::InterceptResult</a>. This is set at construction so that subtest results can be turned into instances of it on demand.</p>

</dd>
</dl>

<h2 id="DUPLICATION"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#DUPLICATION">#</a>DUPLICATION</h2>

<dl>

<dt id="$copy-=-$event-&gt;clone"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$copy-=-$event-%3Eclone">#</a><a id="copy-event-clone"></a>$copy = $event-&gt;clone</dt>
<dd>

<p>Create a deep copy of the event. Modifying either event will not effect the other.</p>

</dd>
</dl>

<h2 id="CONDENSED-MULTI-FACET-DATA"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#CONDENSED-MULTI-FACET-DATA">#</a><a id="CONDENSED"></a>CONDENSED MULTI-FACET DATA</h2>

<dl>

<dt id="$bool-=-$event-&gt;causes_failure"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$bool-=-$event-%3Ecauses_failure">#</a><a id="bool-event-causes_failure"></a>$bool = $event-&gt;causes_failure</dt>
<dd>

</dd>
<dt id="$bool-=-$event-&gt;causes_fail"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$bool-=-$event-%3Ecauses_fail">#</a><a id="bool-event-causes_fail"></a>$bool = $event-&gt;causes_fail</dt>
<dd>

<p>These are both aliases of the same functionality.</p>

<p>This will always return either a true value, or a false value. This never returns a list.</p>

<p>This method may be relatively slow (still super fast) because it determines pass or fail by creating an instance of <a href="./Test2::Hub.html">Test2::Hub</a> and asking it to process the event, and then asks the hub for its pass/fail state. This is slower than bulding in logic to do the check, but it is more reliable as it will always tell you what the hub thinks, so the logic will never be out of date relative to the Test2 logic that actually cares.</p>

</dd>
<dt id="STRING_OR_EMPTY_LIST-=-$event-&gt;brief"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#STRING_OR_EMPTY_LIST-=-$event-%3Ebrief">#</a><a id="STRING_OR_EMPTY_LIST"></a><a id="STRING_OR_EMPTY_LIST-event-brief"></a>STRING_OR_EMPTY_LIST = $event-&gt;brief</dt>
<dd>

<p>Not all events have a brief, some events are not rendered by the formatter, others have no &quot;brief&quot; data worth seeing. When this is the case an empty list is returned. This is done intentionally so it can be used in a map operation without having <code>undef</code> being included in the result.</p>

<p>When a brief can be generated it is always a single 1-line string, and is returned as-is, not in a list.</p>

<p>Possible briefs:</p>

<pre><code># From control facets
&quot;BAILED OUT&quot;
&quot;BAILED OUT: $why&quot;

# From error facets
&quot;ERROR&quot;
&quot;ERROR: $message&quot;
&quot;ERROR: $partial_message [...]&quot;
&quot;ERRORS: $first_error_message [...]&quot;

# From assert facets
&quot;PASS&quot;
&quot;FAIL&quot;
&quot;PASS with amnesty&quot;
&quot;FAIL with amnesty&quot;

# From plan facets
&quot;PLAN $count&quot;
&quot;NO PLAN&quot;
&quot;SKIP ALL&quot;
&quot;SKIP ALL: $why&quot;</code></pre>

<p>Note that only the first applicable brief is returned. This is essnetially a poor-mans TAP that only includes facets that could (but not necessarily do) cause a failure.</p>

</dd>
<dt id="$hashref-=-$event-&gt;flatten"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$hashref-=-$event-%3Eflatten">#</a><a id="hashref-event-flatten"></a>$hashref = $event-&gt;flatten</dt>
<dd>

</dd>
<dt id="$hashref-=-$event-&gt;flatten(include_subevents-=&gt;-1)"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$hashref-=-$event-%3Eflatten(include_subevents-=%3E-1)">#</a><a id="hashref-event-flatten-include_subevents-1"></a>$hashref = $event-&gt;flatten(include_subevents =&gt; 1)</dt>
<dd>

<p>This ALWAYS returns a hashref. This puts all the most useful data for the most interesting facets into a single hashref for easy validation.</p>

<p>If there are no meaningful facets this will return an empty hashref.</p>

<p>If given the &#39;include_subevents&#39; parameter it will also include subtest data:</p>

<p>Here is a list of EVERY possible field. If a field is not applicable it will not be present.</p>

<dl>

<dt id="always-present"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#always-present">#</a><a id="always"></a>always present</dt>
<dd>

<pre><code class="plaintext">causes_failure =&gt; 1,    # Always present</code></pre>

</dd>
<dt id="Present-if-the-event-has-a-trace-facet"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#Present-if-the-event-has-a-trace-facet">#</a><a id="Present"></a>Present if the event has a trace facet</dt>
<dd>

<pre><code class="plaintext">trace_line    =&gt; 42,
trace_file    =&gt; &#39;Foo/Bar.pm&#39;,
trace_details =&gt; &#39;Extra trace details&#39;,    # usually not present</code></pre>

</dd>
<dt id="If-an-assertion-is-present"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#If-an-assertion-is-present">#</a><a id="If"></a>If an assertion is present</dt>
<dd>

<pre><code class="plaintext">pass =&gt; 0,
name =&gt; &quot;1 + 1 = 2, so math works&quot;,</code></pre>

</dd>
<dt id="If-a-plan-is-present:"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#If-a-plan-is-present:">#</a><a id="If1"></a><a id="If-a-plan-is-present"></a>If a plan is present:</dt>
<dd>

<pre><code>plan =&gt; $count_or_SKIP_ALL_or_NO_PLAN,</code></pre>

</dd>
<dt id="If-amnesty-facets-are-present"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#If-amnesty-facets-are-present">#</a><a id="If2"></a>If amnesty facets are present</dt>
<dd>

<p>You get an array for each type that is present.</p>

<pre><code class="plaintext">todo =&gt; [    # Yes you could be under multiple todos, this will list them all.
    &quot;I will fix this later&quot;,
    &quot;I promise to fix these&quot;,
],

skip =&gt; [&quot;This will format the main drive, do not run&quot;],

... =&gt; [&quot;Other amnesty&quot;]</code></pre>

</dd>
<dt id="If-Info-(note/diag)-facets-are-present"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#If-Info-(note/diag)-facets-are-present">#</a><a id="If3"></a><a id="If-Info-note-diag-facets-are-present"></a>If Info (note/diag) facets are present</dt>
<dd>

<p>You get an arrayref for any that are present, the key is not defined if they are not present.</p>

<pre><code class="plaintext">diag =&gt; [
    &quot;Test failed at Foo/Bar.pm line 42&quot;,
    &quot;You forgot to tie your boots&quot;,
],

note =&gt; [&quot;Your boots are red&quot;],

...  =&gt; [&quot;Other info&quot;],</code></pre>

</dd>
<dt id="If-error-facets-are-present"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#If-error-facets-are-present">#</a><a id="If4"></a>If error facets are present</dt>
<dd>

<p>Always an arrayref</p>

<pre><code class="plaintext">error =&gt; [
    &quot;non fatal error (does not cause test failure, just an FYI&quot;,
    &quot;FATAL: This is a fatal error (causes failure)&quot;,
],

# Errors can have alternative tags, but in practice are always &#39;error&#39;,
# listing this for completeness.
... =&gt; [ ... ]</code></pre>

</dd>
<dt id="Present-if-the-event-is-a-subtest"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#Present-if-the-event-is-a-subtest">#</a><a id="Present1"></a>Present if the event is a subtest</dt>
<dd>

<pre><code>subtest =&gt; {
    count      =&gt; 2,    # Number of assertions made
    failed     =&gt; 1,    # Number of test failures seen
    is_passing =&gt; 0,    # Boolean, true if the test would be passing
                        # after the events are processed.

    plan         =&gt; 2,  # Plan, either a number, undef, &#39;SKIP&#39;, or &#39;NO PLAN&#39;
    follows_plan =&gt; 1,  # True if there is a plan and it was followed.
                        # False if the plan and assertions did not
                        # match, undef if no plan was present in the
                        # event list.

    bailed_out =&gt; &quot;foo&quot;,    # if there was a bail-out in the
                            # events in this will be a string explaining
                            # why there was a bailout, if no reason was
                            # given this will simply be set to true (1).

    skip_reason =&gt; &quot;foo&quot;,   # If there was a skip_all this will give the
                            # reason.
},</code></pre>

<p>if <code>(include_subtest =&gt; 1)</code> was provided as a parameter then the following will be included. This is the result of turning all subtest child events into an <a href="./Test2::API::InterceptResult.html">Test2::API::InterceptResult</a> instance and calling the <code>flatten</code> method on it.</p>

<pre><code>subevents =&gt; Test2::API::InterceptResult-&gt;new(@child_events)-&gt;flatten(...),</code></pre>

</dd>
<dt id="If-a-bail-out-is-being-requested"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#If-a-bail-out-is-being-requested">#</a><a id="If5"></a>If a bail-out is being requested</dt>
<dd>

<p>If no reason was given this will be set to 1.</p>

<pre><code class="plaintext">bailed_out =&gt; &quot;reason&quot;,</code></pre>

</dd>
</dl>

</dd>
<dt id="$hashref-=-$event-&gt;summary()"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$hashref-=-$event-%3Esummary()">#</a><a id="hashref-event-summary"></a>$hashref = $event-&gt;summary()</dt>
<dd>

<p>This returns a limited summary. See <code>flatten()</code>, which is usually a better option.</p>

<pre><code>{
    brief =&gt; $event-&gt;brief || &#39;&#39;,

    causes_failure =&gt; $event-&gt;causes_failure,

    trace_line    =&gt; $event-&gt;trace_line,
    trace_file    =&gt; $event-&gt;trace_file,
    trace_tool    =&gt; $event-&gt;trace_subname,
    trace_details =&gt; $event-&gt;trace_details,

    facets =&gt; [ sort keys(%{$event-&gt;{+FACET_DATA}}) ],
}</code></pre>

</dd>
</dl>

<h2 id="DIRECT-ARBITRARY-FACET-ACCESS"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#DIRECT-ARBITRARY-FACET-ACCESS">#</a><a id="DIRECT"></a>DIRECT ARBITRARY FACET ACCESS</h2>

<dl>

<dt id="@list_of_facets-=-$event-&gt;facet($name)"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#@list_of_facets-=-$event-%3Efacet($name)">#</a><a id="list_of_facets-event-facet-name"></a>@list_of_facets = $event-&gt;facet($name)</dt>
<dd>

<p>This always returns a list of 0 or more items. This fetches the facet instances from the event. For facets like &#39;assert&#39; this will always return 0 or 1 item. For events like &#39;info&#39; (diags, notes) this will return 0 or more instances, once for each instance of the facet.</p>

<p>These will be blessed into the proper <a href="./Test2::EventFacet.html">Test2::EventFacet</a> subclass. If no subclass can be found it will be blessed as an <a href="./Test2::API::InterceptResult::Facet.html">Test2::API::InterceptResult::Facet</a> generic facet class.</p>

</dd>
<dt id="$undef_or_facet-=-$event-&gt;the_facet($name)"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$undef_or_facet-=-$event-%3Ethe_facet($name)">#</a><a id="undef_or_facet-event-the_facet-name"></a>$undef_or_facet = $event-&gt;the_facet($name)</dt>
<dd>

<p>If you know you will have exactly 1 instance of a facet you can call this.</p>

<p>If you are correct and there is exactly one instance of the facet it will always return the hashref.</p>

<p>If there are 0 instances of the facet this will reutrn undef, not an empty list.</p>

<p>If there are more than 1 instance this will throw an exception because your assumption was incorrect.</p>

</dd>
</dl>

<h2 id="TRACE-FACET"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#TRACE-FACET">#</a><a id="TRACE"></a>TRACE FACET</h2>

<dl>

<dt id="@list_of_facets-=-$event-&gt;trace"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#@list_of_facets-=-$event-%3Etrace">#</a><a id="list_of_facets-event-trace"></a>@list_of_facets = $event-&gt;trace</dt>
<dd>

<p>TODO</p>

</dd>
<dt id="$undef_or_hashref-=-$event-&gt;the_trace"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$undef_or_hashref-=-$event-%3Ethe_trace">#</a><a id="undef_or_hashref-event-the_trace"></a>$undef_or_hashref = $event-&gt;the_trace</dt>
<dd>

<p>This returns the trace hashref, or undef if it is not present.</p>

</dd>
<dt id="$undef_or_arrayref-=-$event-&gt;frame"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$undef_or_arrayref-=-$event-%3Eframe">#</a><a id="undef_or_arrayref-event-frame"></a>$undef_or_arrayref = $event-&gt;frame</dt>
<dd>

<p>If a trace is present, and has a caller frame, this will be an arrayref:</p>

<pre><code>[$package, $file, $line, $subname]</code></pre>

<p>If the trace is not present, or has no caller frame this will return undef.</p>

</dd>
<dt id="$undef_or_string-=-$event-&gt;trace_details"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$undef_or_string-=-$event-%3Etrace_details">#</a><a id="undef_or_string-event-trace_details"></a>$undef_or_string = $event-&gt;trace_details</dt>
<dd>

<p>This is usually undef, but occasionally has a string that overrides the file/line number debugging a trace usually provides on test failure.</p>

</dd>
<dt id="$undef_or_string-=-$event-&gt;trace_package"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$undef_or_string-=-$event-%3Etrace_package">#</a><a id="undef_or_string-event-trace_package"></a>$undef_or_string = $event-&gt;trace_package</dt>
<dd>

<p>Same as <code>(caller())[0]</code>, the first element of the trace frame.</p>

<p>Will be undef if not present.</p>

</dd>
<dt id="$undef_or_string-=-$event-&gt;trace_file"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$undef_or_string-=-$event-%3Etrace_file">#</a><a id="undef_or_string-event-trace_file"></a>$undef_or_string = $event-&gt;trace_file</dt>
<dd>

<p>Same as <code>(caller())[1]</code>, the second element of the trace frame.</p>

<p>Will be undef if not present.</p>

</dd>
<dt id="$undef_or_integer-=-$event-&gt;trace_line"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$undef_or_integer-=-$event-%3Etrace_line">#</a><a id="undef_or_integer-event-trace_line"></a>$undef_or_integer = $event-&gt;trace_line</dt>
<dd>

<p>Same as <code>(caller())[2]</code>, the third element of the trace frame.</p>

<p>Will be undef if not present.</p>

</dd>
<dt id="$undef_or_string-=-$event-&gt;trace_subname"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$undef_or_string-=-$event-%3Etrace_subname">#</a><a id="undef_or_string-event-trace_subname"></a>$undef_or_string = $event-&gt;trace_subname</dt>
<dd>

</dd>
<dt id="$undef_or_string-=-$event-&gt;trace_tool"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$undef_or_string-=-$event-%3Etrace_tool">#</a><a id="undef_or_string-event-trace_tool"></a>$undef_or_string = $event-&gt;trace_tool</dt>
<dd>

<p>Aliases for the same thing</p>

<p>Same as <code>(caller($level))[4]</code>, the fourth element of the trace frame.</p>

<p>Will be undef if not present.</p>

</dd>
<dt id="$undef_or_string-=-$event-&gt;trace_signature"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$undef_or_string-=-$event-%3Etrace_signature">#</a><a id="undef_or_string-event-trace_signature"></a>$undef_or_string = $event-&gt;trace_signature</dt>
<dd>

<p>A string that is a unique signature for the trace. If a single context generates multiple events they will all have the same signature. This can be used to tie assertions and diagnostics sent as seperate events together after the fact.</p>

</dd>
</dl>

<h2 id="ASSERT-FACET"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#ASSERT-FACET">#</a><a id="ASSERT"></a>ASSERT FACET</h2>

<dl>

<dt id="$bool-=-$event-&gt;has_assert"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$bool-=-$event-%3Ehas_assert">#</a><a id="bool-event-has_assert"></a>$bool = $event-&gt;has_assert</dt>
<dd>

<p>Returns true if the event has an assert facet, false if it does not.</p>

</dd>
<dt id="$undef_or_hashref-=-$event-&gt;the_assert"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$undef_or_hashref-=-$event-%3Ethe_assert">#</a><a id="undef_or_hashref-event-the_assert"></a>$undef_or_hashref = $event-&gt;the_assert</dt>
<dd>

<p>Returns the assert facet if present, undef if it is not.</p>

</dd>
<dt id="@list_of_facets-=-$event-&gt;assert"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#@list_of_facets-=-$event-%3Eassert">#</a><a id="list_of_facets-event-assert"></a>@list_of_facets = $event-&gt;assert</dt>
<dd>

<p>TODO</p>

</dd>
<dt id="EMPTY_LIST_OR_STRING-=-$event-&gt;assert_brief"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#EMPTY_LIST_OR_STRING-=-$event-%3Eassert_brief">#</a><a id="EMPTY_LIST_OR_STRING"></a><a id="EMPTY_LIST_OR_STRING-event-assert_brief"></a>EMPTY_LIST_OR_STRING = $event-&gt;assert_brief</dt>
<dd>

<p>Returns a string giving a brief of the assertion if an assertion is present. Returns an empty list if no assertion is present.</p>

</dd>
</dl>

<h2 id="SUBTESTS-(PARENT-FACET)"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#SUBTESTS-(PARENT-FACET)">#</a><a id="SUBTESTS"></a><a id="SUBTESTS-PARENT-FACET"></a>SUBTESTS (PARENT FACET)</h2>

<dl>

<dt id="$bool-=-$event-&gt;has_subtest"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$bool-=-$event-%3Ehas_subtest">#</a><a id="bool-event-has_subtest"></a>$bool = $event-&gt;has_subtest</dt>
<dd>

<p>True if a subetest is present in this event.</p>

</dd>
<dt id="$undef_or_hashref-=-$event-&gt;the_subtest"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$undef_or_hashref-=-$event-%3Ethe_subtest">#</a><a id="undef_or_hashref-event-the_subtest"></a>$undef_or_hashref = $event-&gt;the_subtest</dt>
<dd>

<p>Get the one subtest if present, otherwise undef.</p>

</dd>
<dt id="@list_of_facets-=-$event-&gt;subtest"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#@list_of_facets-=-$event-%3Esubtest">#</a><a id="list_of_facets-event-subtest"></a>@list_of_facets = $event-&gt;subtest</dt>
<dd>

<p>TODO</p>

</dd>
<dt id="EMPTY_LIST_OR_OBJECT-=-$event-&gt;subtest_result"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#EMPTY_LIST_OR_OBJECT-=-$event-%3Esubtest_result">#</a><a id="EMPTY_LIST_OR_OBJECT"></a><a id="EMPTY_LIST_OR_OBJECT-event-subtest_result"></a>EMPTY_LIST_OR_OBJECT = $event-&gt;subtest_result</dt>
<dd>

<p>Returns an empty list if there is no subtest.</p>

<p>Get an instance of <a href="./Test2::API::InterceptResult.html">Test2::API::InterceptResult</a> representing the subtest.</p>

</dd>
</dl>

<h2 id="CONTROL-FACET-(BAILOUT,-ENCODING)"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#CONTROL-FACET-(BAILOUT,-ENCODING)">#</a><a id="CONTROL"></a><a id="CONTROL-FACET-BAILOUT-ENCODING"></a>CONTROL FACET (BAILOUT, ENCODING)</h2>

<dl>

<dt id="$bool-=-$event-&gt;has_bailout"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$bool-=-$event-%3Ehas_bailout">#</a><a id="bool-event-has_bailout"></a>$bool = $event-&gt;has_bailout</dt>
<dd>

<p>True if there was a bailout</p>

</dd>
<dt id="$undef_hashref-=-$event-&gt;the_bailout"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$undef_hashref-=-$event-%3Ethe_bailout">#</a><a id="undef_hashref-event-the_bailout"></a>$undef_hashref = $event-&gt;the_bailout</dt>
<dd>

<p>Return the control facet if it requested a bailout.</p>

</dd>
<dt id="EMPTY_LIST_OR_HASHREF-=-$event-&gt;bailout"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#EMPTY_LIST_OR_HASHREF-=-$event-%3Ebailout">#</a><a id="EMPTY_LIST_OR_HASHREF"></a><a id="EMPTY_LIST_OR_HASHREF-event-bailout"></a>EMPTY_LIST_OR_HASHREF = $event-&gt;bailout</dt>
<dd>

<p>Get a list of 0 or 1 hashrefs. The hashref will be the control facet if a bail-out was requested.</p>

</dd>
<dt id="EMPTY_LIST_OR_STRING-=-$event-&gt;bailout_brief"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#EMPTY_LIST_OR_STRING-=-$event-%3Ebailout_brief">#</a><a id="EMPTY_LIST_OR_STRING1"></a><a id="EMPTY_LIST_OR_STRING-event-bailout_brief"></a>EMPTY_LIST_OR_STRING = $event-&gt;bailout_brief</dt>
<dd>

<p>Get the brief of the balout if present.</p>

</dd>
<dt id="EMPTY_LIST_OR_STRING-=-$event-&gt;bailout_reason"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#EMPTY_LIST_OR_STRING-=-$event-%3Ebailout_reason">#</a><a id="EMPTY_LIST_OR_STRING2"></a><a id="EMPTY_LIST_OR_STRING-event-bailout_reason"></a>EMPTY_LIST_OR_STRING = $event-&gt;bailout_reason</dt>
<dd>

<p>Get the reason for the bailout, an empty string if no reason was provided, or an empty list if there was no bailout.</p>

</dd>
</dl>

<h2 id="PLAN-FACET"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#PLAN-FACET">#</a><a id="PLAN"></a>PLAN FACET</h2>

<p>TODO</p>

<dl>

<dt id="$bool-=-$event-&gt;has_plan"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$bool-=-$event-%3Ehas_plan">#</a><a id="bool-event-has_plan"></a>$bool = $event-&gt;has_plan</dt>
<dd>

</dd>
<dt id="$undef_or_hashref-=-$event-&gt;the_plan"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$undef_or_hashref-=-$event-%3Ethe_plan">#</a><a id="undef_or_hashref-event-the_plan"></a>$undef_or_hashref = $event-&gt;the_plan</dt>
<dd>

</dd>
<dt id="@list_if_hashrefs-=-$event-&gt;plan"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#@list_if_hashrefs-=-$event-%3Eplan">#</a><a id="list_if_hashrefs-event-plan"></a>@list_if_hashrefs = $event-&gt;plan</dt>
<dd>

</dd>
<dt id="EMPTY_LIST_OR_STRING-$event-&gt;plan_brief"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#EMPTY_LIST_OR_STRING-$event-%3Eplan_brief">#</a><a id="EMPTY_LIST_OR_STRING3"></a><a id="EMPTY_LIST_OR_STRING-event-plan_brief"></a>EMPTY_LIST_OR_STRING $event-&gt;plan_brief</dt>
<dd>

</dd>
</dl>

<h2 id="AMNESTY-FACET-(TODO-AND-SKIP)"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#AMNESTY-FACET-(TODO-AND-SKIP)">#</a><a id="AMNESTY"></a><a id="AMNESTY-FACET-TODO-AND-SKIP"></a>AMNESTY FACET (TODO AND SKIP)</h2>

<p>TODO</p>

<dl>

<dt id="$event-&gt;has_amnesty"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Ehas_amnesty">#</a><a id="has_amnesty"></a><a id="event-has_amnesty"></a>$event-&gt;has_amnesty</dt>
<dd>

</dd>
<dt id="$event-&gt;the_amnesty"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Ethe_amnesty">#</a><a id="the_amnesty"></a><a id="event-the_amnesty"></a>$event-&gt;the_amnesty</dt>
<dd>

</dd>
<dt id="$event-&gt;amnesty"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Eamnesty">#</a><a id="amnesty"></a><a id="event-amnesty"></a>$event-&gt;amnesty</dt>
<dd>

</dd>
<dt id="$event-&gt;amnesty_reasons"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Eamnesty_reasons">#</a><a id="amnesty_reasons"></a><a id="event-amnesty_reasons"></a>$event-&gt;amnesty_reasons</dt>
<dd>

</dd>
<dt id="$event-&gt;has_todos"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Ehas_todos">#</a><a id="has_todos"></a><a id="event-has_todos"></a>$event-&gt;has_todos</dt>
<dd>

</dd>
<dt id="$event-&gt;todos"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Etodos">#</a><a id="todos"></a><a id="event-todos"></a>$event-&gt;todos</dt>
<dd>

</dd>
<dt id="$event-&gt;todo_reasons"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Etodo_reasons">#</a><a id="todo_reasons"></a><a id="event-todo_reasons"></a>$event-&gt;todo_reasons</dt>
<dd>

</dd>
<dt id="$event-&gt;has_skips"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Ehas_skips">#</a><a id="has_skips"></a><a id="event-has_skips"></a>$event-&gt;has_skips</dt>
<dd>

</dd>
<dt id="$event-&gt;skips"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Eskips">#</a><a id="skips"></a><a id="event-skips"></a>$event-&gt;skips</dt>
<dd>

</dd>
<dt id="$event-&gt;skip_reasons"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Eskip_reasons">#</a><a id="skip_reasons"></a><a id="event-skip_reasons"></a>$event-&gt;skip_reasons</dt>
<dd>

</dd>
<dt id="$event-&gt;has_other_amnesty"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Ehas_other_amnesty">#</a><a id="has_other_amnesty"></a><a id="event-has_other_amnesty"></a>$event-&gt;has_other_amnesty</dt>
<dd>

</dd>
<dt id="$event-&gt;other_amnesty"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Eother_amnesty">#</a><a id="other_amnesty"></a><a id="event-other_amnesty"></a>$event-&gt;other_amnesty</dt>
<dd>

</dd>
<dt id="$event-&gt;other_amnesty_reasons"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Eother_amnesty_reasons">#</a><a id="other_amnesty_reasons"></a><a id="event-other_amnesty_reasons"></a>$event-&gt;other_amnesty_reasons</dt>
<dd>

</dd>
</dl>

<h2 id="ERROR-FACET-(CAPTURED-EXCEPTIONS)"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#ERROR-FACET-(CAPTURED-EXCEPTIONS)">#</a><a id="ERROR"></a><a id="ERROR-FACET-CAPTURED-EXCEPTIONS"></a>ERROR FACET (CAPTURED EXCEPTIONS)</h2>

<p>TODO</p>

<dl>

<dt id="$event-&gt;has_errors"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Ehas_errors">#</a><a id="has_errors"></a><a id="event-has_errors"></a>$event-&gt;has_errors</dt>
<dd>

</dd>
<dt id="$event-&gt;the_errors"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Ethe_errors">#</a><a id="the_errors"></a><a id="event-the_errors"></a>$event-&gt;the_errors</dt>
<dd>

</dd>
<dt id="$event-&gt;errors"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Eerrors">#</a><a id="errors"></a><a id="event-errors"></a>$event-&gt;errors</dt>
<dd>

</dd>
<dt id="$event-&gt;error_messages"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Eerror_messages">#</a><a id="error_messages"></a><a id="event-error_messages"></a>$event-&gt;error_messages</dt>
<dd>

</dd>
<dt id="$event-&gt;error_brief"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Eerror_brief">#</a><a id="error_brief"></a><a id="event-error_brief"></a>$event-&gt;error_brief</dt>
<dd>

</dd>
</dl>

<h2 id="INFO-FACET-(DIAG,-NOTE)"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#INFO-FACET-(DIAG,-NOTE)">#</a><a id="INFO"></a><a id="INFO-FACET-DIAG-NOTE"></a>INFO FACET (DIAG, NOTE)</h2>

<p>TODO</p>

<dl>

<dt id="$event-&gt;has_info"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Ehas_info">#</a><a id="has_info"></a><a id="event-has_info"></a>$event-&gt;has_info</dt>
<dd>

</dd>
<dt id="$event-&gt;the_info"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Ethe_info">#</a><a id="the_info"></a><a id="event-the_info"></a>$event-&gt;the_info</dt>
<dd>

</dd>
<dt id="$event-&gt;info"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Einfo">#</a><a id="info"></a><a id="event-info"></a>$event-&gt;info</dt>
<dd>

</dd>
<dt id="$event-&gt;info_messages"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Einfo_messages">#</a><a id="info_messages"></a><a id="event-info_messages"></a>$event-&gt;info_messages</dt>
<dd>

</dd>
<dt id="$event-&gt;has_diags"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Ehas_diags">#</a><a id="has_diags"></a><a id="event-has_diags"></a>$event-&gt;has_diags</dt>
<dd>

</dd>
<dt id="$event-&gt;diags"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Ediags">#</a><a id="diags"></a><a id="event-diags"></a>$event-&gt;diags</dt>
<dd>

</dd>
<dt id="$event-&gt;diag_messages"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Ediag_messages">#</a><a id="diag_messages"></a><a id="event-diag_messages"></a>$event-&gt;diag_messages</dt>
<dd>

</dd>
<dt id="$event-&gt;has_notes"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Ehas_notes">#</a><a id="has_notes"></a><a id="event-has_notes"></a>$event-&gt;has_notes</dt>
<dd>

</dd>
<dt id="$event-&gt;notes"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Enotes">#</a><a id="notes"></a><a id="event-notes"></a>$event-&gt;notes</dt>
<dd>

</dd>
<dt id="$event-&gt;note_messages"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Enote_messages">#</a><a id="note_messages"></a><a id="event-note_messages"></a>$event-&gt;note_messages</dt>
<dd>

</dd>
<dt id="$event-&gt;has_other_info"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Ehas_other_info">#</a><a id="has_other_info"></a><a id="event-has_other_info"></a>$event-&gt;has_other_info</dt>
<dd>

</dd>
<dt id="$event-&gt;other_info"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Eother_info">#</a><a id="other_info"></a><a id="event-other_info"></a>$event-&gt;other_info</dt>
<dd>

</dd>
<dt id="$event-&gt;other_info_messages"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#$event-%3Eother_info_messages">#</a><a id="other_info_messages"></a><a id="event-other_info_messages"></a>$event-&gt;other_info_messages</dt>
<dd>

</dd>
</dl>

<h1 id="SOURCE"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#SOURCE">#</a>SOURCE</h1>

<p>The source code repository for Test2 can be found at <i>http://github.com/Test-More/test-more/</i>.</p>

<h1 id="MAINTAINERS"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#MAINTAINERS">#</a>MAINTAINERS</h1>

<dl>

<dt id="Chad-Granum"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#Chad-Granum">#</a><a id="Chad-Granum-&lt;exodist@cpan.org&gt;"></a><a id="Chad"></a><a id="Chad-Granum-exodist-cpan.org"></a>Chad Granum &lt;exodist@cpan.org&gt;</dt>
<dd>

</dd>
</dl>

<h1 id="AUTHORS"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#AUTHORS">#</a>AUTHORS</h1>

<dl>

<dt id="Chad-Granum1"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#Chad-Granum1">#</a><a id="Chad-Granum-&lt;exodist@cpan.org&gt;1"></a><a id="Chad1"></a><a id="Chad-Granum-exodist-cpan.org1"></a>Chad Granum &lt;exodist@cpan.org&gt;</dt>
<dd>

</dd>
</dl>

<h1 id="COPYRIGHT"><a class="permalink" href="./Test2::API::InterceptResult::Event.html#COPYRIGHT">#</a>COPYRIGHT</h1>

<p>Copyright 2020 Chad Granum &lt;exodist@cpan.org&gt;.</p>

<p>This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.</p>

<p>See <i>http://dev.perl.org/licenses/</i></p>


      </div>
      <div id="footer">
        <p>Perldoc Browser is maintained by Dan Book (<a href="https://metacpan.org/author/DBOOK">DBOOK</a>). Please contact him via the <a href="https://github.com/Grinnz/perldoc-browser/issues">GitHub issue tracker</a> or <a href="mailto:dbook@cpan.org">email</a> regarding any issues with the site itself, search, or rendering of documentation.</p>

<p>The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via the <a href="https://github.com/Perl/perl5/issues">Perl issue tracker</a>, the <a href="https://lists.perl.org/list/perl5-porters.html">mailing list</a>, or <a href="https://kiwiirc.com/client/irc.perl.org/p5p">IRC</a> to report any issues with the contents or format of the documentation.</p>


      </div>
    </div>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js" integrity="sha512-/DXTXr6nQodMUiq+IUJYCt2PPOUjrHJ9wFrqpJ3XkgPNOZVfMok7cRw6CSxyCQxXn6ozlESsSh1/sMCTF1rL/g==" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js" integrity="sha512-ubuT8Z88WxezgSqf3RLuNi5lmjstiJcyezx34yIU2gAHonIi27Na7atqzUZCOoY4CExaoFumzOsFQ2Ch+I/HCw==" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
    <script src="../highlight.pack.js"></script>
    <script>hljs.highlightAll();</script>
  </body>
</html>
